package com.authine.cloudpivot.ext.dto.system;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author hxd
 * @Date 2021/9/27 15:00
 * @Description 对外api访问客户端模型
 **/

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "OutApiClientDto")
public class OutApiClientDto {
     @Schema(description = "资源地址")
     private String resource_url;
     @Schema(description = "备注")
     private String memo;
     @Schema(description = "版本")
     private Integer version;
     @Schema(description = "客户端id")
     private String client_id;
     @Schema(description = "扩展字段")
     private String extends_attr;
     @Schema(description = "访问token")
     private String access_token;
     @Schema(description = "用户名")
     private String client_username;
     @Schema(description = "密码")
     private String client_password;
     @Schema(description = "客户端秘钥")
     private String client_secret;
     @Schema(description = "token地址")
     private String token_url;
     @Schema(description = "租户，扩展属性。用于标识一组")
     private String tenant;
     @Schema(description = "固买系统用户名")
     private String gomro_username;

}
